package com.kashi.service.impl;

import com.kashi.mapper.GoodsMapper;
import com.kashi.pojo.Goods;
import com.kashi.service.GoodsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class GoodsServiceImpl implements GoodsService {
    @Autowired
    private GoodsMapper goodsMapper;

    @Override
    public List<Goods> list(String keyword, String category) {
        return goodsMapper.list(keyword,category);
    }
}
